In computing, the SEX assembly language mnemonic has often been used for the "Sign EXtend
" machine instruction found in the PDP-11 and many other computer architectures. A computer's or CPU's "sex" can also mean the endianness of the computer architecture used.[1] x86 computers do not have the same "byte sex",[2] as HC11 computers, for example. Functions are sometimes needed[3] for computers of different endianness to communicate with each other over the internet,[4] as protocols often use big endian byte coding by default.
On the RCA 1802 series of microprocessors, the SEX, for "SEt X
," instruction is used to designate which of the machine's sixteen 16-bit registers is to be the X (index) register.
The TLA SEX has humorously been said to stand for Software EXchange, meaning copying of software. As file sharing has sometimes spread computer viruses, it has been stated that “illicit SEX can transmit viral diseases to your computer.” The involvement of FTP servers' /pub directories in this process has led to the name being explained as a contraction of 'pubic'.[5]
NUMSEX
, and the Mac OS X operating system refers to "byte sex" in its compiler tools [2].This article is based in part on the Jargon File, which is in the public domain.